﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.DynamicData;
using System.Web.UI.WebControls;

namespace NotAClue.Web.DynamicData
{
    /// <summary>
    /// The interface for parent controls to implement.
    /// </summary>
    public interface IChangeNotifyingFieldTemplate
    {
        /// <summary>
        /// Gets the state.
        /// </summary>
        /// <value>The state.</value>
        ListItem State { get; }

        /// <summary>
        /// Occurs when [state changed].
        /// </summary>
        event ChangingAwareEventHandler StateChanged;
    }
}
